Added Codeforces Contest Schedule/data #1014
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
I have added a function and Class for retrieving Codeforces Contest data through web scraping. The data includes the title, date and length of all ongoing and upcoming contests. I have also included the necessary comments for understanding how to use the code/function.
I have used the same format as used in the leetcode and hacker rank modules for contest data.
I have updated the dev-documentation file, and created a init.py file.
Resolves: #935
Checklist
Screenshots
The main addition:
The final output in the format as used in other modules:
Followed the same format as the hacker rank module:
![image](https://private-user-images.githubusercontent.com/111494403/331815682-f46e5002-d36d-4f3d-b5a0-4b8607676def.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NDI2NTEsIm5iZiI6MTczOTY0MjM1MSwicGF0aCI6Ii8xMTE0OTQ0MDMvMzMxODE1NjgyLWY0NmU1MDAyLWQzNmQtNGYzZC1iNWEwLTRiODYwNzY3NmRlZi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNVQxNzU5MTFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yYzBlMDRmYjNmMzlkN2U0NzY1NDM5ODY3NTc0MTkzZTU2YTY2YmYwZDA0ZjY4ZmFhYzUxMzIwMDVjNmZlMzE1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.7No1rlXBICg8F_xCDXzUTBROS8W5JJ2czJETcwwhkSA)
![image](https://private-user-images.githubusercontent.com/111494403/331815877-6b70bc6a-ec88-49aa-98cf-b2675e77829f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NDI2NTEsIm5iZiI6MTczOTY0MjM1MSwicGF0aCI6Ii8xMTE0OTQ0MDMvMzMxODE1ODc3LTZiNzBiYzZhLWVjODgtNDlhYS05OGNmLWIyNjc1ZTc3ODI5Zi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNVQxNzU5MTFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00ZDcyNDM1NTcxZWIyYTU1OTZhZmUzNDc5N2IxNzYxYmNlMTI0MTExZGQ3YWViZWVjMGViNTYyYjE2ZTUyNGQwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.m7cni8QPO4Sd3J0uOJiCeGk-21QN6AZo0ZzVDo2CG64)
Updated the dev-documentation file:
I certify that I have carried out the relevant checks and provided the requisite screenshot for validation by submitting this pull request.